export function setToken(val){
  wx.setStorageSync('token',val)
}
export function getToken(){
  return wx.getStorageSync('token')
}
export function setUserName(val){
  wx.setStorageSync('username',val)
}
export function getUserName(){
  return wx.getStorageSync('username')
}
export function setPassword(val){
  wx.setStorageSync('password',val)
}
export function getPassword(){
  return wx.getStorageSync('password')
}
export function setSchoolid(val){
  wx.setStorageSync('schoolid',val)
}
export function getSchoolid(){
  return wx.getStorageSync('schoolid')
}

export function setNickName(val){
  wx.setStorageSync('nickname',val)
}
export function getNickName(){
  return wx.getStorageSync('nickname')
}
export function setSysId(val){
  wx.setStorageSync('sysid',val)
}
export function getSysId(){
  return wx.getStorageSync('sysid')
}